const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.userinfo.avatar,
  name: state => state.user.userinfo.username,
  userId: state => state.user.userinfo.id,
  login_bg: state => state.user.config.login_bg,
  login_title: state => state.user.config.login_title,
  system_logo: state => state.user.config.system_logo,
  system_name: state => state.user.config.system_name,
  web_ico: state => state.user.config.web_ico
}
export default getters
